/*
 * 2006-04-18 Li Ximing, Zhang Yanbo Create
 */
package com.hd123.rumba.log;

import java.util.Date;

import com.hd123.rumba.domain.IDomain;
import com.hd123.rumba.exception.BusinessException;
import com.hd123.rumba.runtime.IPersistent;

/**
 * 操作日志 | 实体 | 抽象接口类
 * <p>
 * 
 * 其中属性所属域domain为操作人operator所属域。
 * 
 * @author lxm
 * @author zhangyanbo
 * 
 */
public abstract interface IOperateLog extends IPersistent {

  /** @deprecated */
  public static String CAPTION_CLASS = COperateLog.CAPTION_CLASS;

  /** 属性：所属域 */
  public IDomain getDomain() throws BusinessException;

  public void setDomain(IDomain domain) throws BusinessException;

  /** @deprecated */
  public static String CAPTION_DOMAIN = COperateLog.CAPTION_DOMAIN;
  
  /** 属性：操作人 */
  public String getOperator() throws BusinessException;

  public void setOperator(String operator) throws BusinessException;

  /** @deprecated */
  public static String CAPTION_OPERATOR = COperateLog.CAPTION_OPERATOR;
  
  /** 属性：操作时间 */
  public Date getTime() throws BusinessException;

  public void setTime(Date time) throws BusinessException;

  /** @deprecated */
  public static String CAPTION_TIME = COperateLog.CAPTION_TIME;

  /**
   * 属性：月度结转期号，允许空<br>
   * 注：对于rumba而言，暂时没有任何含义，保留为未来扩展。
   */
  public String getSettleNo() throws BusinessException;

  public void setSettleNo(String settleNo) throws BusinessException;

  /** @deprecated */
  public static String CAPTION_SETTLENO = COperateLog.CAPTION_SETTLENO;

  /** 属性：事件 | 允许空。 */
  public String getEvent() throws BusinessException;

  public void setEvent(String event) throws BusinessException;

  /** @deprecated */
  public static String CAPTION_EVENT = COperateLog.CAPTION_EVENT;

  /** 属性：消息 */
  public String getMessage() throws BusinessException;

  public void setMessage(String message) throws BusinessException;

  /** @deprecated */
  public static String CAPTION_MESSAGE = COperateLog.CAPTION_MESSAGE;

}
